package com.yzy.entity.query;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author mgl
 * @version 1.0
 * @description 订单的包装类
 * @date 2023/7/26 18:36
 */
@Data
public class WrappedOrder {
    private Integer userId; //购买商品人id
    private Integer fileId; //文件id
    private String goodIntroduction; //文件介绍
    private String goodName; //文件名称
    private Integer status; //订单状态
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buyTime; //购买时间
    private Double payment; //支付金额
    private Double price; //商品单价
}
